You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Math387.ExtractInteger Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.ExtractInteger Method

Gets integer number, extracted from string source.

Syntax
C#
Visual Basic
public static int ExtractInteger([In] string Source, ref int Offset, [In] string Delimiter);

Integer number that was extracted from string Source looking from Offset and ended with Delimiter.

The Offset is modified to point to the first character after first found Delimiter in Source string. You can use ExtractInteger to process a string of integer numbers separated by Delimiter. If the Delimiter is not Found, the function returns zero.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!